-- GENERATED SPELL FOR [Ethereum Nullifier] --


function spell0_22822(pUnit, Event) --@Intangible Presence,n/a--
pUnit:FullCastSpellOnTarget(36513,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_22822', 8286, 1)
end

function Sorts_22822(pUnit, Event)
local choix_sorts_22822 = math.random(0, 0)
if choix_sorts_22822 == 0 then
pUnit:RegisterEvent('spell0_22822', 1, 1)
end
end

function mob22822_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_22822', math.random(1500, 3000), 1)
end

function mob22822_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob22822_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob22822_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(22822, 1, 'mob22822_Action')
RegisterUnitEvent(22822, 2, 'mob22822_Leave')
RegisterUnitEvent(22822, 3, 'mob22822_Kill')
RegisterUnitEvent(22822, 4, 'mob22822_Die')
